package com.dming.testrequest;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

/**
 * Created by DMing at 2018/1/11 0011
 */
public class NotificationAdapter extends BaseQuickAdapter<TestNotify, BaseViewHolder> {


    public NotificationAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(final BaseViewHolder helper, final TestNotify item) {
        helper.setText(R.id.tv_item_content, item.getContent());
        helper.setText(R.id.tv_item_time,item.getTime());
    }
}